package com.basics.channel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.basics.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 频道信息
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel")
@ApiModel(value="CyChannel对象", description="频道信息")
public class CyChannel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "频道编号ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "组织ID")
    private Long organizationId;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "频道名称")
    private String channelName;

    @ApiModelProperty(value = "频道类型(TOPIC话题/论坛/圈子)")
    private String channelType;

    @ApiModelProperty(value = "创建人")
    private Long createUserId;


}
